package com.esyoga.yoyoga.pojo.DTO;

import com.esyoga.yoyoga.pojo.TContract;
import com.esyoga.yoyoga.pojo.TGym;
import com.esyoga.yoyoga.pojo.TStudent;
import com.esyoga.yoyoga.pojo.TTrainer;
import lombok.Data;

/**
 * 前端需要展示的合约内容
 */
@Data
public class ContractDTO {
    private TTrainer trainer;
    private TStudent student;
    private TGym gym;
    private TContract contract;

    public ContractDTO(TTrainer trainer, TStudent tStudent, TGym tGym, TContract contract) {
        this.trainer = trainer;
        this.student = tStudent;
        this.gym = tGym;
        this.contract = contract;
    }

    public ContractDTO(){

    }
}
